package com.wzd.learn.springcloud.service.b.biz.ref;

import org.springframework.stereotype.Service;

@Service
public class HelloServiceFallback implements HelloService {

	@Override
	public String sayHello1(String name) {
		System.out.println("hello1 falback,time:" + System.currentTimeMillis());
		return "Hello1 " + name + ",i am sorry, it fail!";
	}

	@Override
	public String sayHello2(String name) {
		System.out.println("hello2 falback,time:" + System.currentTimeMillis());
		return "Hello2 " + name + ",i am sorry, it fail!";
	}

}
